export interface DepartmentItem {
  remark: string
  guid: string
  departmentName: string
  children?: DepartmentItem[]
  depName: string
  depNo: string
  createTime?: string
  disabled?: boolean
  stationNo?: string
  stationName?: string
  saveFileDay?: number
}

export interface DepartmentListResponse {
  list: DepartmentItem[]
}

export interface DepartmentUserParams {
  pageSize: number
  pageIndex: number
  id: string
  username?: string
  account?: string
}

export interface DepartmentUserItem {
  guid: string
  username: string
  account: string
  email: string
  createTime: string
  role: string
  department: DepartmentItem
  depName: string
  depNo: string
  userName: string
  userNo: string
  UserName: string
  UserNo: string
}

export interface DepartmentUserResponse {
  list: DepartmentUserItem[]
  total: number
}

export interface Role {
  guid: string
  name: string
  remark: string
  isEnabled: boolean
  englishName: string
  roleName?: string
}
